package com.xinxin.datastructure;

import com.xinxin.datastructure.linkedlist.LinkedList;
import com.xinxin.datastructure.tree.BST;
import com.xinxin.datastructure.tree.BinarySearchTree;

import java.util.*;

/**
 * @author ：史鑫鑫
 * @date ：Created in 2019/4/22 15:22
 */
public class Main {
    public static void main(String[] args) {
        HashMap<Integer, String> map = new HashMap<>();
        map.put(1, "1");
        map.put(2, "2");
        System.out.println(map.containsKey(1));
        System.out.println(map.containsKey(3));
        System.out.println(map.get(1));
        System.out.println(map.get(3));
    }
}

